package com.threeti.mecool.core.domain.model.plan.aspects;

import javax.persistence.*;

import org.springframework.beans.factory.annotation.Configurable;
import com.threeti.mecool.core.domain.model.plan.pojo.RouteStep;
import com.threeti.mecool.core.domain.model.plan.pojo.RouteStepItem;
import com.threeti.mecool.core.domain.model.plan.pojo.Step;

privileged aspect RouteStepItem_AJ_Entity {
	declare @type: RouteStepItem:@Configurable;
	declare @type: RouteStepItem:@Entity;
  declare @type: RouteStepItem:@Table(name = "DM_WF_ROUTE_STEP_ITEM");
	
	declare @field: Long RouteStepItem.id:@Id;
	declare @field: Long RouteStepItem.id:@GeneratedValue(strategy = GenerationType.AUTO);
	declare @field: Integer RouteStepItem.version:@Version;
	
	declare @field: RouteStep RouteStepItem.routeStep:@ManyToOne(optional = false);
	declare @field: Step RouteStepItem.nextStep:@OneToOne;
}
